package com.gljx.web.service;

import com.gljx.util.ServerResponse;
import com.gljx.web.Entity.Recordin;
import com.gljx.web.Entity.Recordout;
import com.gljx.web.Entity.Recordoutentry;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/11/7 0007.
 */
public interface RecordoutService {
    Map<String, Object> selectPageCount(String psql);

    Map<String, Object> selectPage(int pindex, String psql, int psize);

    Recordout selectRecordoutByFid(String fid);

    void updateRecordout(Recordout recordout);

    void addRecordout(Recordout recordout);

    void deleteByRecordoutKey(String[] deleteId,String[] fnumber);

    void deleteRecordouAndRecordoutentry(String fid);

    ServerResponse examine(Recordout recordout, String state, String agreed, String auditcomment);

    List<Recordoutentry> selectRecordoutXls(String fnumber, String name, String beginTime, String endTime, String fcompanyid);
}
